﻿using System.Collections.Generic;
using Microsoft.Xna.Framework;

namespace BattleFury.Cartographer.Builder
{
	public class VisualizationScale
		: List<VisualizationColor>
	{
		public static VisualizationScale Continents
		{
			get
			{
				return new VisualizationScale
				{
					new VisualizationColor(-1, 64, new Color(0, 0, 128)),
					new VisualizationColor(64, 96, new Color(0, 0, 192)),
					new VisualizationColor(96, 128, new Color(0, 0, 255)),
					new VisualizationColor(128, 160, new Color(0, 128, 0)),
					new VisualizationColor(160, 192, new Color(64, 192, 64)),
					new VisualizationColor(192, 208, new Color(76, 255, 0)),
					new VisualizationColor(208, 216, new Color(86, 72, 0)),
					new VisualizationColor(216, 224, new Color(127, 106, 0)),
					new VisualizationColor(224, 232, new Color(128, 128, 128)),
					new VisualizationColor(232, 240, new Color(160, 160, 160)),
					new VisualizationColor(240, 252, new Color(192, 192, 192)),
					new VisualizationColor(252, 255, new Color(255, 255, 255)),
				};
			}
		}

		public static VisualizationScale Land
		{
			get
			{
				return new VisualizationScale
				{
					new VisualizationColor(-1, 32, new Color(0, 0, 128)),
					new VisualizationColor(32, 48, new Color(0, 0, 192)),
					new VisualizationColor(48, 64, new Color(0, 0, 255)),
					new VisualizationColor(64, 96, new Color(0, 128, 0)),
					new VisualizationColor(96, 128, new Color(64, 192, 64)),
					new VisualizationColor(128, 160, new Color(76, 255, 0)),
					new VisualizationColor(160, 192, new Color(86, 72, 0)),
					new VisualizationColor(192, 208, new Color(127, 106, 0)),
					new VisualizationColor(208, 224, new Color(128, 128, 128)),
					new VisualizationColor(224, 240, new Color(160, 160, 160)),
					new VisualizationColor(240, 248, new Color(192, 192, 192)),
					new VisualizationColor(248, 255, new Color(255, 255, 255)),
				};
			}
		}
	}
}